projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e46a4
)
GtkMenuSectionBox: Add tooltip to iconic buttons
author
Timm Bäder
<mail@baedert.org>
Tue, 23 Sep 2014 16:26:53 +0000
(18:26 +0200)
committer
Timm Bäder
<mail@baedert.org>
Mon, 17 Nov 2014 17:37:47 +0000
(18:37 +0100)
gtk/gtkmenusectionbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenusectionbox.c
b/gtk/gtkmenusectionbox.c
index 9905fa737d0b7905e64d09ae586dbea9124f8ca5..e2b340b60a399d39b7cf8c6ea915c14d1c7f565d 100644
(file)
--- a/
gtk/gtkmenusectionbox.c
+++ b/
gtk/gtkmenusectionbox.c
@@
-296,6
+296,7
@@
gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item,
if (box->iconic)
{
g_object_bind_property (item, "verb-icon", widget, "icon", G_BINDING_SYNC_CREATE);
+ g_object_bind_property (item, "label", widget, "tooltip-text", G_BINDING_SYNC_CREATE);
g_object_set (widget, "iconic", TRUE, "centered", TRUE, NULL);
}
else